Skip to content

Conversation

yashmaurya01
Copy link

@yashmaurya01 yashmaurya01 commented Oct 18, 2023

… Encrypted Data.ipynb

Fixed axis attribute error in data.drop() from 'columns' to axis=1

Description

Prior error:

TypeError: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given

Fix:

data = data.drop("TenYearCHD", 'columns') ---> data = data.drop("TenYearCHD", axis=1)

How has this been tested?

  • Successfully executing jupyter notebook locally on Windows 11, Python 3.10.0, TenSEAL 0.3.14

Checklist

… Encrypted Data.ipynb

Fixed axis attribute error in data.drop() from 'columns' to axis=1
TypeError: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@yashmaurya01
Copy link
Author

Can someone help me out with the workflow approvals for this PR?
It's a simple attribute error I noticed while following the TenSEAL tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant